package cn.edu.csust.tysp.backend.repository;

import cn.edu.csust.tysp.backend.repository.entity.SheetMusicEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface SheetMusicRepository extends JpaRepository<SheetMusicEntity, Integer>{

    Page<SheetMusicEntity> findAll(Specification<SheetMusicEntity> spec, Pageable pageable);

}
